
import { createRouter, createWebHistory } from 'vue-router'
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      redirect:'/login'
    }, {
      path: '/login',
      component: () => import('../views/login.vue')
    },{
      path: '/UserShow',
      component: () => import('../views/UserJieKuan.vue')
    },{
      path: '/jiekuanyemian',
      component: () => import('../views/userYemian.vue')
    },{
      path: '/adminShow',
      component: () => import('../views/adminShow.vue')
    },{
      path: '/mingxi',
      component: () => import('../views/mingxi.vue')
    }

  ]
})
export default router
